The Dreamweaver JavaScript API > Assets panel functions > dreamweaver.assetPalette.newAsset()

 

dreamweaver.assetPalette.newAsset()

Availability

Dreamweaver 4.0

Description

Creates new element for the current category in the Favorites list. For library and templates, this is a new blank library or template file that the user can name immediately. For colors, the color picker appears. For URLs, a dialog box appears prompting the user for a URL and a nickname. Not available for images, movies, Shockwave files, Flash files, or scripts.

Arguments

None.

Returns

Nothing.